/**
 * Copyright &copy; 2012-2014 <a href="https://github.com.jims.base">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.patient.health.service;


import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.patient.health.dao.TransfuseRecDao;
import com.jims.master.modules.patient.health.entity.TransfuseRec;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * 输血史Service
 * @author xueyx
 * @version 2017-07-20
 */
@Service
@Transactional(readOnly = true)
public class TransfuseRecService extends CrudService<TransfuseRecDao, TransfuseRec> {
	@Autowired
	TransfuseRecDao transfuseRecDao;

	@Override
    public Page<TransfuseRec> findPage(Page<TransfuseRec> page, TransfuseRec transfuseRec) {
		return super.findPage(page, transfuseRec);
	}

	public List<TransfuseRec> findByBaseId(String baseid){
		return transfuseRecDao.findByBaseId(baseid);
	}
}